import '../base/request.dart';

// 注册请求类
class RegistRequest extends BaseRequest {
  RegistRequest() {
    this
      ..setHeader('ZmEtMjAyMS0wNC0xMiAyMToyMjoyMC1mYQ==fa', 'auth-token')
      ..setHeader('fa', "course-flag")
      ..setQueryParams('1675', 'orderId')
      ..setQueryParams('6728905', 'imoocId');
  }

  @override
  bool get isHttps => true;

  @override
  SupportMethods get method => SupportMethods.POST;

  @override
  String get route => 'uapi/user';

  @override
  bool get needLogin => false;

  @override
  String get path => 'registration'; // 设置注册路径

}
